package B3;

public enum State {
    /**
     * 开始读取非字符串内字符
     */
    Reading("Reading","读取非字符串内字符"),
    /**
     * 开始读取字符串字符
     */
    Reading_str("Reading_str","读取字符串内字符"),
    /**
     * 转义下一个字符
     */
    escape_next_character("escape_next_character","转义下一个字符");
    private String name;
    private String value;

    State(String name, String value) {
        this.name = name;
        this.value = value;
    }
    public String getName() {
        return this.name;
    }
    public String getValue() {
        return value;
    }
    @Override
    public String toString() {
        return "State{" +
                "name='" + name + '\'' +
                ", value='" + value + '\'' +
                '}';
    }
}

